package com.tj.bo.account.server.dao;

import com.fqgj.common.base.BaseMapper;
import com.tj.bo.account.server.entity.OrderWithdrawEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * User: account
 * Date: 2020-06-11
 * Time: 10:48:23.893
 */

public interface OrderWithdrawDao extends BaseMapper<OrderWithdrawEntity> {

    OrderWithdrawEntity selectByWithdrawOrderNo(String withdrawOrderNo);

    OrderWithdrawEntity selectLatestOrder(String userCode);

    List<OrderWithdrawEntity> selectLatestOrders(String userCode);

    BigDecimal selectTotalWithdrawAmount(String userCode);


    List<OrderWithdrawEntity> selectListByStatus(Integer status);

}